package com.bicon.botu.medical.model.entity

import com.baomidou.mybatisplus.annotations.TableField
import com.baomidou.mybatisplus.annotations.TableName
import com.bicon.botu.core.base.repository.mybatis.AutoIdBaseEntity

/**
 * 字典实体
 * @author 李双喜
 * @date 2018/7/19
 */
@TableName("dictionary")
data class Dictionary(
        /**
         * 字典名称
         */
        @TableField("dictionary_name")
        val dictionaryName: String? = null,


        /**
         * 字典code
         */
        @TableField("dictionary_code")
        val dictionaryCode: String? = null,


        /**
         * 字典父id
         */
        @TableField("parent_id")
        val parentId: Int? = null,


        /**
         * 类型
         */
        val type: Int? = null,

        /**
         * 路径
         */
        val path: String? = null,


        /**
         * 级别
         */
        val level: Int? = null,


        /**
         * 内容
         */
        val content: String? = null

) : AutoIdBaseEntity<Dictionary>()
